.class public abstract Lorg/microemu/microedition/io/ConnectorAdapter;
.super Ljava/lang/Object;
.source "ConnectorAdapter.java"

# interfaces
.implements Lorg/microemu/microedition/io/ConnectorDelegate;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 45
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public open(Ljava/lang/String;)Ljavax/microedition/io/Connection;
    .locals 2
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 50
    const/4 v0, 0x3

    const/4 v1, 0x0

    invoke-virtual {p0, p1, v0, v1}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;

    move-result-object v0

    return-object v0
.end method

.method public open(Ljava/lang/String;I)Ljavax/microedition/io/Connection;
    .locals 1
    .parameter "name"
    .parameter "mode"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 54
    const/4 v0, 0x0

    invoke-virtual {p0, p1, p2, v0}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;

    move-result-object v0

    return-object v0
.end method

.method public abstract open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation
.end method

.method public openDataInputStream(Ljava/lang/String;)Ljava/io/DataInputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 58
    invoke-virtual {p0, p1}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;)Ljavax/microedition/io/Connection;

    move-result-object p0

    .end local p0
    check-cast p0, Ljavax/microedition/io/InputConnection;

    invoke-interface {p0}, Ljavax/microedition/io/InputConnection;->openDataInputStream()Ljava/io/DataInputStream;

    move-result-object v0

    return-object v0
.end method

.method public openDataOutputStream(Ljava/lang/String;)Ljava/io/DataOutputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 62
    invoke-virtual {p0, p1}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;)Ljavax/microedition/io/Connection;

    move-result-object p0

    .end local p0
    check-cast p0, Ljavax/microedition/io/OutputConnection;

    invoke-interface {p0}, Ljavax/microedition/io/OutputConnection;->openDataOutputStream()Ljava/io/DataOutputStream;

    move-result-object v0

    return-object v0
.end method

.method public openInputStream(Ljava/lang/String;)Ljava/io/InputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 66
    invoke-virtual {p0, p1}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;)Ljavax/microedition/io/Connection;

    move-result-object p0

    .end local p0
    check-cast p0, Ljavax/microedition/io/InputConnection;

    invoke-interface {p0}, Ljavax/microedition/io/InputConnection;->openInputStream()Ljava/io/InputStream;

    move-result-object v0

    return-object v0
.end method

.method public openOutputStream(Ljava/lang/String;)Ljava/io/OutputStream;
    .locals 1
    .parameter "name"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 70
    invoke-virtual {p0, p1}, Lorg/microemu/microedition/io/ConnectorAdapter;->open(Ljava/lang/String;)Ljavax/microedition/io/Connection;

    move-result-object p0

    .end local p0
    check-cast p0, Ljavax/microedition/io/OutputConnection;

    invoke-interface {p0}, Ljavax/microedition/io/OutputConnection;->openOutputStream()Ljava/io/OutputStream;

    move-result-object v0

    return-object v0
.end method
